package com.common.event.queue;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.common.event.EventMessage;
/**
 * 
* @Title: RedisQueue.java 
* @Package com.common.event.queue
* @Description: redis队列
* @author tangzhibin
* @date 2017年3月22日 
* @version V1.0
 */
public  class RedisQueue extends Queue {

	public static final Logger	LOGGER	= LoggerFactory.getLogger(RedisQueue.class);
	
	//Jedis jedis;
	
	public	RedisQueue(){
	}
	

	/**
	 * 放入队列
	 * @param eventMessage
	 * @return
	 */
	public  boolean pushQueue( final EventMessage eventMessage){
		// TODO Auto-generated method stub
		//可调用jedis的lpush api
		return true;
	}
	
	/**
	 * 取出队列
	 * @param eventMessage
	 * @return
	 */
	public  EventMessage popQueue(){
		// TODO Auto-generated method stub
		//可调用jedis的brPop等api
		return null;
	}
}
